from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template
import StartGroup.Constants

urlpatterns = patterns('',
    (r'/polls', include('polls.urls'),),
    url(r'/(?P<group_web_address>[^"polls"]\w+)/$', StartGroup.Constants.start_group_view + '.group_view',),
    url(r'/$', StartGroup.Constants.start_group_view + '.startNewGroupForm',),
    url(r'/complete$', StartGroup.Constants.start_group_view + '.startNewGroup',),
)